<?php
namespace Home\Controller;

class ActiveController
{

    public function luckybox()
    {
        $method = I('method', 'index');
        $controller = self::getController('Luckybox');
        $controller->$method();
    }

    public function __call($method, $args)
    {
        redirect('/');
    }

    private static function getController($name = '')
    {
        return A('Home/Active/'.$name);
    }
}